package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * app用户对象 sy_app_users
 * 
 * @author ruoyi
 * @date 2024-12-23
 *
 */
@Data
@ToString
public class SyAppUsers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String avatar;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birth;

    /** 电子邮件 */
    @Excel(name = "电子邮件")
    private String email;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    @Excel(name = "盐值")
    private String salt;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private String userType;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 是否已删除 */
    @Excel(name = "是否已删除")
    private Integer deleted;

    /** 删除id */
    @Excel(name = "删除id")
    private Long deleteId;

    /**密码 */
    private  String password;

    private  String passwordHash;
}
